package com.vpx.server.bean.result.system;

import com.vpx.server.bean.info.system.MenuOperateInfo;
import com.vpx.server.framework.base.Base;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;

/**
 * @author liuks
 * @title: vpx
 * @module TODO
 * @description: TODO
 * @date 2021/9/6 19:15
 */
@Getter
@Setter
@ApiModel
public class SysMenuTreeResult extends Base {

    @ApiModelProperty(value = "子菜单")
    protected List<SysMenuTreeResult> childList;

    @ApiModelProperty(value = "是否父节点")
    protected boolean isparent = false;

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "菜单名称")
    private String menuName;

    @ApiModelProperty(value = "父级栏目ID -1为根")
    private Long parentId;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "编号")
    private String code;

    @ApiModelProperty(value = "路由")
    private String router;

    @ApiModelProperty(value = "路由组件")
    private String component;

    @ApiModelProperty(value = "类型 FOLDER:文件夹, MENU:菜单")
    private String menuType;

    @ApiModelProperty(value = "排序号")
    private Integer sortNum;

    @ApiModelProperty(value = "菜单操作按钮列表")
    List<MenuOperateInfo> menuOperateInfos;

}
